const internal/chacha8rand.chunk
8 uses
internal/chacha8rand (current package)
chacha8.go#L25: chunk = 32 // each chunk produced by block is 32 uint64s
chacha8.go#L79: s.n = chunk
chacha8.go#L136: used := (s.c/ctrInc)*chunk + s.i
chacha8.go#L156: if used > (ctrMax/ctrInc)*chunk-reseed {
chacha8.go#L162: s.c = ctrInc * (uint32(used) / chunk)
chacha8.go#L164: s.i = uint32(used) % chunk
chacha8.go#L165: s.n = chunk
chacha8.go#L167: s.n = chunk - reseed
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |